WLAN communication device

ABSTRACT

A technique for combining transmission bandwidths of several communication devices, such as mobile stations is disclosed. A master mobile station establishes a WLAN access point communicating with WLAN client terminals. One or more slave mobile stations may detect a predefined network identifier and join the WLAN network. The master assigns IP addresses for the client terminals and slave mobile stations. The master also resolves DNS queries in cooperation with external DNS servers. Traffic, including internet packets, between the client terminals and various internet hosts is tunneled over multiple simultaneous transmission paths between the master and a multiplexing/demultiplexing computer). The inventive bandwidth combination technique is transparent to the client terminals and the internet hosts.

PARENT CASE INFORMATION

The present application is a national-phase application of and claims priority from PCT application PCT/FI2009/050771, filed 28 Sep. 2009.

FIELD OF THE INVENTION

The invention relates to methods, apparatuses and software products for providing a wireless broadband internet connection via a mobile communication network. In the context of the present invention, a broadband connection means a connection capable of transmitting traffic, in good network conditions, faster than a V.90 modem can, or faster than 64 kilobits per second.

BACKGROUND OF THE INVENTION

Wireless broadband modems can be used to couple personal computers or client terminals to the internet in places where wired internet connections or local-area networks are not available. Prior art wireless broadband modems exhibit certain problems. For instance, sharing a single wireless broadband connection among several users (client terminals) is awkward at best. Normally this requires setting up one of several client terminals as a master terminal that provides the internet connection to the remaining client terminals. This process consumes resources of the master terminal and the client terminals cannot operate without the master. The difficulty of sharing a single wireless broadband connection among several users is understandable in view of the fact that most wireless broadband modems are given or sold at a nominal cost by mobile network operators in connection with a network subscription. The network operators' obvious desire is to sell a subscription to each user instead of sharing a single connection among several users. Another problem of prior art wireless broadband modems is the fact that most of them are “wireless” only towards the mobile network and the connection to the client terminal takes place via a USB cable. The wired connection is actually a benefit in connection with fixed client terminals, such as home computers, because the wired connection can also supply power to the wireless broadband modem, but in connection with mobile client terminals, the wired nature of the USB connection is a definite handicap. Yet another problem is that the bandwidth provided by a mobile station and access network may be insufficient, particularly when several client terminals share a single wireless broadband connection.

BRIEF DESCRIPTION OF THE INVENTION

An object of the invention is to develop a method, an apparatus and software products so as to alleviate one or more of the problems identified above. The object is achieved by methods, apparatuses and software products as defined in the attached independent claims. The dependent claims and the drawings with their associated descriptions relate to specific embodiments.

An aspect of the invention is a communication device having an enhanced functionality for acting as a wireless local-area network (“WLAN”) gateway. Such a communication device comprises a memory for storing applications and data as well as a processor for executing the stored applications. The communication device also comprises a first wireless broadband communication device, which comprises:

-   -   a subscriber identity module associated with a specific mobile         subscription and a stored personal identification number;     -   means for receiving a received personal identification number;     -   means for performing an authentication of a user, such that the         authentication is successful if the received personal         identification number matches the stored personal identification         number,     -   a radio transceiver operable to establish and maintain a         wireless broadband connection with a mobile communication         network in response to the successful authentication.

The communication device further comprises a user interface comprising an input section and an output section; and wireless local-area network [“WLAN”] means responsive to an activation or deactivation command according to a setting received via the input section of the user interface.

The memory of the communication device comprises a gateway application which comprises several code portions for instructing the processor to perform specific connectivity-related tasks. A first code portion instructs the processor to activate the WLAN means to detect if a WLAN network exists, and if a WLAN network does not exist, to establish a WLAN access point capable of communicating with at least one data processing device capable of acting as a WLAN client terminal to the WLAN access point. A second code portion instructs the processor to establish a connection to at least one second wireless broadband communication device, which has the features of the first wireless broadband communication device. A third code portion instructs the processor to assign processor to create a network identifier for the WLAN access point. A fourth code portion instructs the processor to assign an Internet protocol address for the at least one WLAN client terminal and for the at least one second wireless broadband communication device. A fifth code portion instructs the processor to resolve domain name service [“DNS”] queries in cooperation with an external DNS system. A sixth code portion instructs the processor to assign at least one port number for each protocol supported by the gateway application. A seventh code portion instructs the processor to tunnel Internet traffic between the at least one WLAN client terminal and an internet host over the broadband connection.

Said tunnelling of internet traffic comprises establishing and managing multiple simultaneous transmission paths between the WLAN client terminal and the internet host, the multiple simultaneous transmission paths comprising a first transmission path via the radio transceiver of the first wireless broadband communication device and at least one second transmission path via the radio transceiver of the second wireless broadband communication device.

Other aspects of the invention include a method for operating the above-specified communication device and a software carrier comprising a software application for a communication device, wherein the software application comprises the above-specified program code portions.

In one specific embodiment the communication device is a mobile station or other communication device that further comprises means for receiving, installing and executing downloadable programs and the inventive gateway application is a downloadable application. Implementing the inventive gateway application as a downloadable application provides the added benefit that the inventive technique is applicable to mobile stations which are physically capable of performing the inventive method but do not contain the necessary software.

In another specific embodiment the gateway application further comprises a code portion to redirect a first HTTP page request from each communication device during an internet session to a predetermined internet address. Redirecting the first HTTP page of the communication device request during an internet session provides the owner of the predetermined internet address with the benefit that the user must begin an internet session via the predetermined internet address. That address may contain useful information or advertisements, for example.

Yet another specific embodiment is a gateway application for a communication device, which comprises a GPS receiver or other means for determining the location of the communication device, and the gateway application comprises a code portion for associating the determined location to the tunnelled internet traffic. The gateway application and/or some internet-based supplementary server(s) may use the determined location to produce one or more additional or supplementary services to the WLAN terminal.

The gateway application may further comprise a code portion for collecting traffic statistics in respect of the tunnelled traffic and for transmitting at least some of the collected traffic statistics to an advertising server and/or billing server, so as to use the traffic statistics for advertising and/or billing.

In order to minimize battery consumption, the gateway application may direct the processor of the communication device to set up timer functions, such that a sleep timer periodically activates the WLAN circuitry and a watchdog timer deactivates the WLAN circuitry in response to a detected absence of WLAN terminal activity for a predetermined period of time.

BRIEF DESCRIPTION OF THE DRAWINGS

In the following the invention will be described in greater detail by means of specific aspects and embodiments with reference to the attached drawings, in which:

FIG. 1A is a schematic view of a general network architecture in which the invention can be used;

FIGS. 1B, 1C and 1D show different use cases from the one shown in FIG. 1A;

FIG. 2 shows a mobile station configured for use in a scalable WLAN gateway;

FIG. 3 shows a block diagram of a ShareMachine computer;

FIG. 4 shows a block diagram of a SuperHead computer;

FIG. 5 is a signalling diagram illustrating a gateway establishment in a scenario which comprises a WLAN client terminal, a mobile station configured as a gateway, a DNS server and an internet host;

FIG. 6 is a signalling diagram illustrating IP address discovery and DHCP operation, which involves a WLAN client terminal, a master gateway and a slave gateway;

FIG. 7 is a signalling diagram illustrating a flow of data packets from a WLAN client terminal to an Internet host via a master gateway, a slave gateway and a ShareMachine computer;

FIG. 8 is a more detailed signalling diagram illustrating data flow from a WLAN client terminal to an internet host via a master gateway, a slave gateway and a ShareMachine computer,

FIG. 9 discloses a procedure that the master mobile station may utilize to discover serving SuperHead and ShareMachine computers;

FIG. 10 shows an embodiment in which the gateway application in the mobile station is activated automatically in response to detection of a nearby WLAN client terminal; and

FIG. 11 shows an embodiment in which the mobile station's location-determination functionality is used to enhance image uploading to an image hosting server.

DETAILED DESCRIPTION OF SPECIFIC EMBODIMENTS

FIG. 1A is a schematic view of a general network architecture in which the invention can be used. In the illustrative but non-restrictive use case shown in FIG. 1A, a first mobile station MS1 represents the inventive communication device; the radio communication section of the first mobile station MS1 represents the first wireless broadband communication device; a second mobile station MS2 represents the second wireless broadband communication device; while any one of WLAN client terminals CT represents the claimed data processing device capable of acting as a WLAN client terminal.

Reference documents 1 and 2 (commonly owned patent applications, unpublished at the filing date of the present application, which is why some key sections of their contents are repeated here) discloses a technique in which mobile station MS establishes an ad-hoc WLAN network WN and acts as a gateway for providing a single communication path between one or more a client terminals CT and an Internet host HO. The communication path extends via an access network AN1 and a data network DN to the host HO. It is the purpose of the present invention to provide a mobile station which is operable to establish a scalable gateway between one or more client terminals, each of which communicates with a respective internet host.

As used herein, a gateway means an interface point between one or more WLAN client terminals on one hand and one or more mobile access networks on the other hand. A scalable gateway means a gateway arrangement which is capable of providing a dynamically varying number of simultaneous parallel transfer paths over one or more mobile access networks, such that data packets belonging to the same internet connection between a client terminal and the host are multiplexed (combined) and demultiplexed (divided) at the ends of the simultaneous parallel transfer paths.

According to the present invention, the scalable gateway is established and managed by a master mobile station MS1. The scalable gateway established by the master mobile station MS1 may be subsequently joined and supported by zero or more slave mobile stations MS2. A slave mobile station MS2, when present, may join the WLAN network WN established by the master mobile station MS1 and support its operation by providing multiple radio interface paths, thus increasing bandwidth. Slave mobile stations MS2 may also detach from the gateway without causing any other harm than a corresponding reduction in bandwidth. The expression “zero or more slave mobile stations” means that the master mobile station MS1 can provide gateway operations by itself, but increased bandwidth may be provided by one or more slave mobile stations MS2.

Each mobile station MS1, MS2, comprises a subscriber identity module SIM that is used for authentication of a user. The SIM module, which is associated with a specific access network subscription, contains a stored personal identity number. The SIM card also contains a microprocessor that receives a personal identity number entered by the user. Reference sign and acronym PIN refers generally to personal identity numbers, while the stored and received PIN numbers are denoted by respective reference signs PIN-S and PIN-R. For the purposes of the present invention, each mobile station utilizes the access network subscription associated with the SIM card, to provide a broadband data connection over a third or later generation mobile network, in response to a successful user authentication of the user. The authentication is performed by comparing the received PIN number PIN-R with the stored PIN number PIN-S. The authentication is successful if the received PIN number PIN-R matches the stored PIN number PIN-S. The master and slave mobile stations MS1, MS2 can be identical in terms of hardware and software, and any mobile station in which the inventive scalable gateway application is executed first checks if an ad-hoc WLAN network is already established by another mobile station. For example, WLAN networks offering the inventive gateway functionality can be detected on the basis of the WLAN SSID identifier. If the mobile station detects an already-established WLAN network, it assumes the role of a slave mobile station. If an already-established ad-hoc WLAN network is not detected, the inventive mobile station establishes the WLAN network itself and assumes the role of the master mobile station for that WLAN network. For reasons of clarity, FIG. 1A shows only one slave mobile station MS2, but the invention is not restricted to any particular number of mobile stations.

The invention is ideally implemented such that the master mobile station MS1 and slave mobile station(s) MS2 are coupled to different base stations BS1, BS2, . . . . Operation via multiple different base stations helps ensure that the cellular radio interfaces between mobile stations and base stations do not constitute bottlenecks. For instance, such coupling to different base stations can be ensured by providing the various mobile stations MS1, MS2 with SIM cards (Subscriber Identity Module) of different access network operators. The access networks AN1, AN2 typically comprise gateway GPRS support nodes GGSN1, GGSN2 for connecting to data networks DN, such as the internet.

Because different packets transmitted between a client terminal CT and a host HO may be propagated via multiple base stations BS1, BS2 and access networks AN1, AN2, rules and schemes for packet routing must be defined. For instance, it must be decided whether packets transmitted via the multiple base stations and access networks are routed at the client terminal(s) CT or the mobile station(s) MS1, MS2. Currently there are commercially available mobile stations, which are provided with WLAN client software, and one way to implement packet routing is to perform the routing in the client terminal(s) CT, such that a transmitting client terminal sends packets to the first available mobile station, the next packet to the next available mobile station, and so on. A benefit of this routing scheme is that it eliminates packet forwarding among the mobile stations. On the other hand, implementing the packet routing in the client terminal(s) requires modifications to the protocol stacks in the client terminal(s), which is why the present invention is based on the idea that packet routing via the multiple mobile stations MS1, MS2 is performed in the mobile stations. Performing packet routing in the mobile stations provides the benefit that the scalable gateway is almost completely transparent to the client terminal(s), and—as seen from the client terminal(s)—the only change caused by the invention is increased bandwidth.

It is worth noting that performing packet routing in the mobile stations is far from trivial, however. This means that the mobile stations must send, or they should send, individual packets to one another. But a large portion of currently available smart telephones are based on Symbian® 60 or 80 platforms, and current implementations of Symbian® 60 or 80 platforms do not support it. In other words, mobile stations based on Symbian® 60 or 80 platforms cannot send individual packets to one another over the WLAN network. This limitation could be overcome by performing the packet routing in the client terminal(s) but, as stated earlier, this requires modifications to the protocol stacks. The inventor has found out, however, that it is not necessary to send the packets as point-to-point transmissions, and the limitation of Symbian® 60 or 80 platforms can be overcome by sending the packets in multicast transmissions, as will be explained in more detail in connection with FIGS. 7 and 8.

FIG. 1A shows a simplified network architecture in the sense that only one specimen of most elements is displayed. In practice, there will be several ad-hoc WLAN networks WN, each comprising one master mobile station MS1 and a varying number of slave mobile stations MS2. Each ad-hoc WLAN network WN supports a varying number of client terminals CT, each of which may have multiple internet connections to various internet hosts HO. This means that there is a many-to-many mapping among several of the network elements. The invention is implemented such that its operation is transparent to the ends of the connections, that is, to the client terminals and the hosts, and any multiplexing and demultiplexing operations (necessitated by the scalability) are performed by the master mobile stations MS1 and multiplexing/demultiplexing computers, which are called ShareMachine computers SM. The primary task of the SuperHead computers is to keep track of available. ShareMachine computers SM.

Various measures may be taken to enhance data security and overall system robustness. For instance, virtual private network (VPN) technology may be utilized for some legs of the connections between the client terminals CT and the internet hosts HO. In one implementation, a VPN is established for each connection section between a mobile station MS1, MS2 and a ShareMachine computer SM. In this implementation the client terminals CT and the internet hosts HO do not need to establish the VPN and, apart from the increased bandwidth, the invention is transparent to them. System robustness may be enhanced by implementing the ShareMachine and SuperHead computers SM, SH in a distributed manner, as will be explained in detail in connection with FIG. 9.

FIGS. 1B, 1C and 1D show different use cases from the one shown in FIG. 1A. In the second illustrative use case shown in FIG. 1B, a first mobile station MS1 represents the inventive communication device; the radio communication section of the first mobile station MS1 represents the first wireless broadband communication device; a second mobile station MS2 represents the second wireless broadband communication device; while any one of WLAN client terminals CT represents the claimed data processing device capable of acting as a WLAN client terminal. A difference between the use cases shown in FIGS. 1A and 1B is that in FIG. 1A, the master mobile station MS1, which establishes a WLAN connection between itself and the client terminals CT1 and/or CT2, also uses a WLAN connection to communicate with the slave mobile station MS2, whereas in FIG. 1B, the communication between the master and slave mobile stations MS1, MS2 takes place via some other communication technique, such as via a Bluetooth connection. A benefit of this implementation is that the slave mobile station MS2 does not need to be WLAN-enabled. Apart from the difference in the communication channel between MS1 and MS2, the systems shown in FIGS. 1A and 1B operate more or less identically.

In the third illustrative use case shown in FIG. 1C, the inventive communication device is implemented as mobile station MS1, and the the radio communication section of the first mobile station MS1 represents the first wireless broadband communication device. Likewise, any one of WLAN client terminals CT1 and/or CT2 represent the claimed data processing device capable of acting as a WLAN client terminal. FIG. 1C differs from FIGS. 1A and 1B in that the second wireless broadband communication device is a compact wireless broadband modem WBM2 locally connected to one of the WLAN client terminals, such as client terminal CT1. As used herein, a compact wireless broadband modem is essentially a device capable of broadband data connection over a third or later generation mobile network, in response to a successful user authentication of the user. The authentication is performed by comparing a received PIN number PIN-R with a stored PIN number PIN-S. As the compact wireless broadband modem lacks a user interface of its own, the user interface of the client terminal CT1 is used for authentication (PIN code entry) of the wireless broadband modem. Other than that, the client terminals CT1 and CT2 of FIG. 1C generally correspond to the client terminals CT1 and CT2 of FIG. 1B.

In the fourth illustrative use case shown in FIG. 1D, both dedicated mobile stations MS1, MS2 have been replaced by compact wireless broadband modems WBM1, WBM2, which are respectively installed in WLAN-enabled computers MT1, CT1, wherein “MT” stands for “master terminal”. The master terminal MT1 is called master because it is the one that establishes the WLAN access point and oversees the combining of the data paths via the two wireless broadband connections. In the present use case, the inventive communication device is represented by the master terminal MT1, the first and second wireless broadband communication devices are, respectively, the first and second wireless broadband modems WBM1, WBM2, while the data processing device capable of acting as a WLAN client terminal is the client terminal CT1. The illustrated system may support additional client terminals, such as the one denoted CT2, that do not provide wireless broadband connections to the access networks.

The following description and drawings relate directly to use cases in which the client terminal CT is clearly detached from the mobile stations MS, MS1, MS2, but the teaching provided herein is also applicable to the use cases in which a computer with a locally attached wireless broadband modem is substituted for a combination of a mobile station and client terminal.

FIG. 2 shows a mobile station configured for use in a scalable WLAN gateway. The description of the mobile station begins by describing how a mobile station can act as a unitary (non-scalable) gateway. Such a gateway operation is described in reference documents 1 and 2 (commonly owned applications).

For acting as a unitary (non-scalable) gateway, the mobile station MS comprises a central processing unit CP 205 and memory 210. In addition, the mobile station MS comprises or utilizes external input-output circuitry 215 which constitutes the mobile station's user interface and comprises an input circuitry 220 and an output circuitry 225. The input circuitry 220 comprises the mobile station's microphone and user-input device, such as a keypad and/or touch screen. The output circuitry 225 comprises the mobile station's display and earphone or loudspeaker. The mobile station MS further comprises reception/transmission circuitry 230 which comprises a transmission circuitry 235, reception circuitry 240 and antenna 245. A subscriber identity module, SIM, 250 is used by an authentication function 260 to authenticate the mobile station user and to identify the user's subscription to the access network. The mobile station also comprises WLAN (Wireless Local Area Network) circuitry 255 whose normal mode of usage is acting as a WLAN client to a WLAN access point (not shown).

In order to support installable program modules, the mobile station's memory MEM 210 may comprise routines for downloading installable program modules and for storing the installable program modules in the memory MEM for execution by the central processing unit CP. FIG. 1A shows an arrangement in which the mobile station is configured to download installable program modules from a repository RP via a data network DN, an access network AN, the antenna 245 and reception circuitry 240, although other arrangements are equally possible, such as downloading the installable program modules via the data network DN to a client terminal CT, from which the installable program modules are transferred to the mobile station the WLAN circuitry 255 or via some other short-range connection, such as Bluetooth or Universal Serial Bus (USB, not shown separately). The access network AN is typically a broadband-capable mobile communication network, while the data network DN is typically the internet or some closed subnetwork implementing internet protocol (IP), commonly called intranets or extranets. At this level of generalization, all previously-discussed elements of FIG. 1A can be conventional as used in the relevant art. One or more external hosts are accessible via the access network AN and data network DN, as will be described in more detail below. Finally, reference numeral 280 denotes an area of the memory 210 used to store parameters and variables.

The foregoing description of FIG. 1A describes an applicable mobile station in technical terms. Such mobile stations are commercially available: For instance, at the priority date of the present invention, mobile stations based on Symbian S60 or S80 platforms can be used, provided that they support WLAN and broadband communications. A departure from prior art mobile stations can be seen in the fact that the mobile station comprises the inventive gateway application 270, either as a factory-installed software application or as a downloadable application. The client terminals CT resemble laptop computers or smart telephones, but those skilled in the art will realize that the mobile station MS provided with the inventive gateway application 270 supports virtually any client terminal capable of acting as a WLAN client, personal digital assistants, home entertainment devices, digital cameras, etc., to name just a representative sample of applicable device types.

Within the gateway application 270, reference numeral 272 collectively denotes program-implemented functions which are used to operate the mobile station as a non-scalable gateway which provides one radio interface to one or several client terminals. These functions, which will be described in connection with FIG. 5, include establishment of an ad-hoc WLAN network, generation of a beacon ID, IP address assignment and discovery (eg DHCP), domain name services (DNS) in cooperation with external domain name servers, multi-protocol support and roaming support. The multi-protocol support functionality may include a Network Address & Port Translation (NAPT) block which translates the source and destination addresses. Translation of port numbers may be used to identify various connections to or from the same IP address. A detailed conversion example will be described in connection with FIG. 8.

Reference numeral 274 collectively denotes program-implemented functions which are used to operate the mobile station as a scalable gateway which coordinates provision of multiple radio interfaces to one or several client terminals. These functions, which will be described in connection with FIGS. 6 through 8, include a multicasting function, which includes packet multicast transmission and signalling in the WLAN network, packet delivery and signalling between a master mobile station and a slave mobile station, and a communication function for communicating with SuperHead and ShareMachine computers.

FIG. 3 shows a block diagram of a multiplexing/demultiplexing computer which, in the context of the present invention, is called a ShareMachine computer SM. It comprises a central processing unit CP 305 and memory 310, as well as a network interface 330 for communicating with data networks DN, such as the internet. The ShareMachine computer SM also comprises or utilizes external input-output circuitry 315 which constitutes the ShareMachine computer's user interface and comprises an input circuitry 320 and an output circuitry 325.

The nature of the user interface depends on which kind of computer is used to implement the ShareMachine computer SM. If the ShareMachine computer is a dedicated computer, it may not need a local user interface, such as a keyboard and display, and the user interface may be a remote interface, wherein the ShareMachine computer is managed remotely, such as from a web browser over the internet, for example. On the other hand, it is expected that some access network operators may display a hostile attitude to the present invention in general and the ShareMachine computers in particular, because the present invention makes it possible to share one or a few access network subscriptions among a larger number of client terminals. Thus some network operators may attempt to block the operation of the ShareMachine computers. In order to improve the robustness of the invention, a relatively large number of potential ShareMachine computers may be involved. Conventional home computers are prime examples of potential ShareMachine computers. In that case, the user interface should be a local interface, including a display, keyboard and pointing device, although for the purposes of the present invention, the user interface is primarily needed to launch the software application 370 which makes an appropriate computer (hardware-wise) into the inventive ShareMachine computer. In addition, the user interface may be utilized for obtaining traffic statistics. Reference numeral 380 denotes an area of the memory 310 used to store parameters and variables.

The ShareMachine computer's software application 370 comprises program code for instructing the processor to execute the following functions. A signalling function permits the ShareMachine computer to discover participating elements, such as gateway mobile stations. A SuperHead communication function enables communication with a SuperHead computer (in XML over HTTPS, for example). An optional configuration/reporting function enables configuration of the ShareMachine computer and traffic statistics reporting via a user interface, which may be a local user interface or a remote user interface. A packet management function performs packet packing/unpacking and multiplexing/demultiplexing as well as NAT/NAPT (Network Address (and Port) Translation) operations. A DNS function permits the ShareMachine computer to participate in DNS operations with pre-existing internet-based DNS servers.

FIG. 4 shows a block diagram of a service coordination server, colloquially called a SuperHead computer and denoted by reference sign SH. The purpose of the SuperHead computers is to coordinate the services of the ShareMachine computers SM. As regards a functional description of the hardware blocks, which are denoted by reference numerals 305 through 330, the SuperHead computer SH can be similar to the ShareMachine computer SM shown in FIG. 3, and the description of the hardware elements will not be repeated. It is the SuperHead software application 370 that makes the SuperHead computer SH perform the following inventive functions.

A ShareMachine communication function enables communication with ShareMachine computers (in XML over HTTPS, for example). A ShareMachine management function enables keeping track of ShareMachine computers and prioritisation of them according to various operating parameters and IP addresses, which are to be communicated to Gateway Mobile Stations. An optional configuration/reporting function enables configuration of the SuperHead computer and traffic statistics reporting via a user interface, which may be a local user interface or a remote user interface.

FIG. 5 is a signalling diagram illustrating a gateway establishment in a scenario which comprises a WLAN client terminal, a mobile station configured as a gateway, a DNS server and an Internet host. FIG. 5 depicts an illustrative scenario involving a client terminal CT and a mobile station which supports a gateway application according to the present invention. In step 5-0 the inventive gateway application is executed in the mobile station. The execution of the gateway application is typically started in response to a user instruction via the mobile station's user interface. In a typical implementation, the mobile station receives user interface navigation instructions to “Applications” from which the inventive gateway application is selected for execution. One of the acts performed by the mobile station's processor, under control of the inventive gateway application, is to ensure that the WLAN circuitry of the mobile station is operational. The significance of step 5-0, and of the corresponding deactivation step 5-40, is that the mobile station is only reserved for wireless broadband gateway applications for a user-specified time, and at other times the mobile station can perform whatever tasks required by its user.

In step 5-2 the gateway application instructs the mobile station's processor to prepare an ad-hoc WLAN network around the mobile station, by acting as a WLAN access point (as opposed to the mobile station's more conventional usage as a WLAN client). In step 5-4 the gateway application instructs the mobile station to initiate broadcasting of a beacon ID message, which typically is an IBSSID message as defined in standard IEEE 802.11x. Step 5-4 is depicted as an arrow, but in practice the broadcasting of the beacon ID message should be repeated until step 5-40 in which the execution of the gateway application is terminated.

In step 5-6 the client terminal CT searches for available WLAN networks and detects the broadcasted beacon ID and selects the WLAN network created by the mobile station MS. In step 5-8 the client terminal CT, as part of a conventional WLAN attach procedure, requests an IP address from the mobile station's WLAN access point, which returns the requested IP address in step 5-10. Dynamic Host Configuration Protocol (DHCP) is typically used for steps 5-8 and 5-10.

Let us assume that the client terminal CT tries to retrieve a web page from the internet host (item HO in FIG. 1A). In step 5-12 the client terminal CT sends a domain name service (DNS) query for the IP address of the host's web page to the DNS server of the mobile station's gateway application. In step 5-14 the mobile station's gateway application forwards the DNS query to internet's domain name service and obtains the host's IP address in step 5-16. In step 5-18 the mobile station's gateway application returns the host's IP address to the client terminal CT.

In step 5-20 the client terminal CT requests a web page from the host's IP address. Hypertext Transfer Protocol (HTTP) is typically used for this purpose. This request, like any communication between the client terminal CT and any internet hosts, takes place via the inventive gateway application being executed in the mobile station.

Step 5-22 is an optional step which may be omitted in some embodiments. When performed, step 5-22 comprises redirecting the first HTTP page request from client terminal CT to another internet host, called Host′. This means that in step 5-24 the gateway application forces the client terminal's first HTTP page request to a forced home page at the IP address of Host′. For example, the operator of the site Host′ may display advertisements in exchange of sponsoring communication costs over the access network AN. In step 5-26 the web site Host′ returns the requested web page, which the gateway application relays to the client terminal CT in step 5-28.

In step 5-30 the client terminal CT again requests the web page from the host's IP address. Since this the second (or further) page request from the client terminal, the gateway application no longer redirects the HTTP request but relays it to the Host in step 5-32. In steps 5-34 and 5-36 the requested web page from the Host is transmitted to the client terminal. As shown by arrow 50, the process can return from step 5-36 to step 5-20 when future web pages are requested. The loops 5-30 through 5-36 can be repeated until the gateway application is terminated in step 5-40. If the forced home page feature (step 5-22) is not implemented, the first HTTP request (step 5-20) is processed similarly to the subsequent HTTP requests (step 5-30). In subsequent executions of step 5-30, if the HTTP page request relates to a web page for which the gateway application does not have an IP address, a DSN query will be performed (cf. steps 5-14 and 5-16).

FIG. 5 also shows an additional client terminal, denoted CT′. Steps 5-6 through 5-36 will be repeated for each additional client terminal. This means that by virtue of the inventive gateway application, which instructs the mobile station MS to act as a WLAN access point (as opposed to a WLAN client), the mobile station MS can support an arbitrary number of client terminals which act as WLAN client terminals and which, by virtue of the authentication performed by the mobile station, can share a single subscription to the access network.

FIG. 5 and the foregoing description of it illustrate use of HTTP protocol. The inventive gateway application supports other protocols in an analogous manner and assigns a specific port number to each supported protocol. For instance, the gateway application can instruct the mobile station to convey encrypted HTTPS traffic by utilizing the Proxy Configuration field of HTTPS protocol.

FIG. 6 is a signalling diagram illustrating IP address discovery and DHCP operation, which involves a WLAN client terminal CT, a master mobile station MS1 and a slave mobile station MS2. Both mobile stations MS1 and MS2 execute the inventive gateway application 270 (see FIG. 2), including the functions 272 and 274. In a typical implementation, the mobile stations MS1 and MS2 and their gateway applications are identical. The mobile station that first establishes the ad-hoc WLAN network, as described in connection with FIGS. 1 and 5, becomes the master mobile station MS1, and any subsequent mobile stations that join the ad-hoc WLAN network afterwards will assume the role of a slave mobile station. For the interest of clarity, FIGS. 6 through 8 only show one slave mobile station MS2, but the invention and its embodiments are scalable to any reasonable number of mobile stations. For the interest of brevity, the words “mobile station” may be omitted and the master and slave mobile stations may be referred to as “master” and “slave”.

In step 6-2 the client terminal CT requests an IP address from the master MS1 in an DCHP Discover( ) procedure. In step 6-4 the master MS1 sends the client terminal CT the requested IP address. In the present example, the master MS1, whose own IP address of is 192.168.1.1, offers the client terminal the next available IP address, which is 192.168.1.2. In step 6-6 the mobile station MS2, having detected that an ad-hoc WLAN network already exists, requests an IP address from the master MS1. In the example shown, the master MS1 grants in step 6-8 the slave MS2 an IP address of 192.168.2.1, which in this example is derived from the masters' own IP address by setting the third octet to the next available number. In other words, the slave mobile station MS2 is assigned a subnet of its own. This implementation provides certain benefits as regards optimization of resource utilization. For instance, the slave mobile station MS2 may act as a WLAN gateway to some of the client terminals, whereby it is not necessary to route all traffic via the master mobile station MS1.

It should be noted that in a typical environment the IP address lease time cannot be very long because the ad-hoc network does not indicate when a slave mobile station leaves the network. After a mobile station leaves the network, the gateway and subnet addresses should be renewed quickly. In a typical environment, in which the mobile stations are not dedicated to gateway service, the IP lease time is preferably no more than a few minutes.

FIG. 7 is a signalling diagram illustrating a flow of data packets from a WLAN client terminal CT to an internet host via a master mobile station/gateway MS1, a slave mobile station/gateway MS2 and a ShareMachine computer SM. In the initial state 7-0, an ad-hoc WLAN network (item WN in FIG. 1A) has been established and a DHCP discovery procedure has been performed, as described in connection with the preceding FIGS. 5 and 6. In the embodiment described herein, the ad-hoc WLAN network comprises a master gateway mobile station MS1 and a slave gateway mobile station MS2, but the client terminal CT only communicates with the master MS1.

In steps 7-2 and 7-4 the client terminal CT sends two IP packets IP1 and IP2 to the master MS1. The ultimate destination of the IP packets is the internet Host HO. The master MS1 thus acts as the client terminal's only access point to the internet. In step 7-6 the master MS1 sends the first IP packet IP1 as an UDP packet to the ShareMachine computer SM. Any intervening access networks are omitted for clarity, but they are shown in FIG. 1A. In step 7-8 the master MS1 multicasts the second IP packet IP2 as an UDP packet, and the slave MS2 captures the multicast transmission. In step 7-10 the slave MS2 sends the second IP packet IP2 as an UDP packet to the ShareMachine computer SM. In steps 7-12 and 7-14 the ShareMachine computer SM sends the IP packets IP1 and IP2 to the Host. In the example described herein, UDP packets were used for efficiency's sake. If better robustness is desired and some efficiency can be sacrificed, TCP protocol may be used instead.

For the purposes of FIGS. 7 and 8, it suffices that the master gateway mobile station MS1 somehow knows or obtains the address of the ShareMachine computer SM. For instance, in a simple implementation the master MS1 or its user may utilize an Internet search engine to discover addresses of available ShareMachine computers. An enhanced procedure for obtaining the ShareMachine computer's address from a SuperHead computer will be described in connection with FIG. 9.

The reason for using multicast over point-to-point transmission is that Symbian® S60 or S80 platforms, which a large portion of current WLAN-equipped mobile stations are based on, do not provide an Application Programming Interface (API) function to access the Media Access Control (MAC), or device hardware, layer by individual packets. Resorting to the multicast transmission in the WLAN network provides a workaround solution for this problem.

In one specific implementation the overhead due to multitasking is reduced by setting a flag in the first (master) mobile station/gateway, such that the slave mobile stations/gateways do not have to unpack each packet to see its destination. The multitasking operation also compensates for the fact that packet loss is a definite handicap in mobile access networks. As a result of the multicast transmission via multiple alternative routes, the likelihood of at least one successful packet delivery is increased. In addition, the multitasking operation increases robustness of the ad-hoc WLAN network. If one of the slave mobile stations/gateways disappears from the WLAN network, the packets may still survive.

In the scenario shown in FIG. 7, the master MS1 sends the first IP packet IP1 to the ShareMachine computer SM directly, while the second IP packet IP2 is sent via the slave MS2. The next IP packet (not shown) will be sent directly again, and so on, in order to achieve load balancing among the gateways MS1, MS2 and the access networks AN1, AN2 (see FIG. 1A). It is possible that, as a result of the overhead caused by sending some packets via the slave(s) and/or varying delays in the access networks, the ShareMachine computer SM receives some packets out of sequence, and packet IPn will be received after packet IPn+1. Thus the ShareMachine computer SM should be able to buffer packets coming out of sequence until it has received all the packets it needs to forward them to the Host in the correct sequence. The ShareMachine computer SM may employ a protocol watchdog timer that raises an alert if some packet is not received for a predetermined period of time, in which case the ShareMachine computer SM may request retransmission of the packets starting from the last properly received packet.

In steps 7-16 through 7-28, two internet packets IP3 and IP4 are sent from the Host, via the ShareMachine computer SM and the gateways MS1, MS2, to the client terminal CT. Based on the preceding the description of the reverse direction, the packet transmission from the Host to the client terminal CT is mostly self-explanatory and a detailed description is omitted. In this case the slave MS2 must send the packet IP4 over multicast transmission to the master MS1, and it is the task of the master MS1 to assemble the packets in the correct sequence, by requesting retransmission if necessary.

The embodiment described herein provides the benefit that the operation of the inventive scalable gateway is completely transparent to the client terminal CT and the Host, which need no modifications whatsoever and which can only detect an increased transmission speed.

FIG. 8 is a more detailed signalling diagram illustrating data flow from a WLAN client terminal CT to an internet host HO via a master gateway mobile station MS1, a slave gateway mobile station MS2 and a ShareMachine computer SM. In the present embodiment, the ShareMachine computer comprises a Network Address Translation block, which is also capable of Port Translation, as well as the corresponding reverse translations. In the present context, this block is called a Network Address & Port Translation block NAPT. Because the NAPT block changes the IP addresses, it is shown as a distinct network element, although in practice it may be, and typically is, an integral functional block of the ShareMachine computer SM. The NAPT block may utilize the packets' port numbers to identify the source and destination addresses and to separate the packets based on the addresses.

As shown near the top of FIG. 8, the primary IP address assigned to the network elements CT, MS1, MS2, SM and HO are denoted by a suffix “IP” after the reference sign of the respective network element. For example, CT IP is the IP address assigned to the client terminal CT. The master and slave gateway mobile stations MS1 and MS2 also employ a secondary IP address each, and these are denoted with a prime after the “IP” suffix. For example, MS1 IP′ is the secondary IP address assigned to the master gateway mobile station MS1. The secondary IP addresses of the mobile stations are used for the communication between the mobile stations MS1, MS2 and the ShareMachine computer SM. In one representative implementation, the mobile stations' primary IP addresses MS1 IP and MS2 IP are assigned from the sub-network of the master mobile station MS1, while the secondary IP addresses MS1 IP′ and MS2 IP′ are public IP addresses assigned by the mobile stations' respective access network operators.

In the initial state 8-0, an ad-hoc WLAN network has been established and a DHCP procedure has been performed. The remaining steps of FIG. 8 constitute four major phases, which are transmitting a first packet 1U and a second packet 2U from the client terminal CT to the host HO (called uplink transmission) and transmitting a first packet ID and a second packet 2D from the host HO to the client terminal CT. Addressing details of the messages and operations shown in FIG. 8 are compiled into table 1.

Steps 8-11 through 8-17 relate to the transmission of the first uplink packet 1U from the client terminal CT to the host HO. In step 8-11 the client terminal CT sends the packet 1U to the master mobile station MS1. As shown in Table 1, the packet 1U is an Ethernet packet over the WLAN network established by the master mobile station MS1. The source and destination addresses of the packet 1U are the MAC addresses of the master mobile station MS1. The packet's payload contains IP Data, as transmitted by the client terminal. Table 1 also contains a second row entry for the step 8-11, and this means that there is an IP packet encapsulated within the Ethernet packet. The IP packet's source and destination addresses are the IP addresses of the client terminal CT and host HO, respectively. Step 8-12 is an optional header packing step, the purpose of which is to optimize the use of the radio interface bandwidth. In the scenario shown in FIG. 8, the master mobile station MS1 does not send the first packet 1U directly to the ShareMachine computer SM but via the slave mobile station MS2. Accordingly, step 8-13 comprises sending the packet 1U as a multicast transmission, which involves sending from the MAC address of MS1 an Ethernet packet into which is encapsulated an UDP packet. The UDP packet, in turn, contains the actual IP packet, as shown in Table 1. The slave mobile station MS2, having received the multicast transmission, sends the UDP packet to the IP address of the ShareMachine computer SM in step 8-14. The header unpacking step 8-15 reverses the effect of the header packing step 8-12. In step 8-16 the NAPT block of the ShareMachine computer SM performs Network Address Translation on the packet 1U. After the Network Address Translation, in step 8-17, the ShareMachine computer SM sends the first uplink packet 1U to the host HO.

Steps 8-21 through 8-27 relate to the transmission of the second uplink packet 2U from the client terminal CT to the host HO. The transmission of the second uplink packet 2U is simpler than the transmission of the first uplink packet 1U in that the packet 2U is sent directly from the master mobile station MS1 to the ShareMachine computer SM, and the multicast transmission over the WLAN is omitted. The transmission of packets originating or terminating at the client terminal CT and host HO is similar regardless of whether or the packet is conveyed via the slave mobile station MS2. This means that the transmission is transparent to the client terminal CT and host HO, which can only detect an improved transmission bandwidth.

Steps 8-31 through 8-37 relate to the transmission of the first downlink packet 1D from the host HO to the client terminal CT. Finally, steps 8-41 through 8-47 relate to the transmission of the second downlink packet 2D from the host HO to the client terminal CT. A detailed description of the various transmissions is omitted as the downlink transmission is analogous with the uplink transmission, and the necessary addressing details are indicated in Table 1. In the embodiment described herein, the mobile stations' public (operator-assigned) IP addresses are used for communicating with the ShareMachine computer SM, while private IP addresses, ie, those assigned by the master mobile station MS1, are used for communicating between the mobile stations.

TABLE 1 Addressing details relating to FIG. 8 Step Packet Source Destination Data Note 8-11 Ethernet Packet CT MAC MS1 MAC IP Data IP Packet CT IP HO IP IP Data 8-13 Ethernet Packet MS1 MAC Multicast UDP Packet UDP Packet MS1 IP Multicast IP Packet 8-14 UDP Packet MS2 IP′ SM IP IP Packet 8-16 IP Packet CT IP HO IP IP Data Id by MS public IP 8-17 IP Packet SM IP HO IP IP Data Unique Source port 8-21 See 8-11 IP Packet CT IP HO IP IP Data 8-23 UDP Packet MS1 IP′ SM IP IP Packet 8-26 See 8-16 8-27 See 8-17 8-31 IP Packet HO IP SM IP IP Data Unique Dest'n port 8-32 IP Packet HO IP CT IP IP Data Id by MS public IP 8-34 UDP Packet SM IP MS2 IP′ IP Packet 8-35 UDP Packet MS2 IP Multicast IP Packet 8-37 IP Packet HO IP CT IP IP Data Ethernet Packet MS2 MAC CT MAC IP Data 8-41 See 8-31 8-42 See 8-32 8-44 UDP Packet SM IP MS1 IP′ IP Packet 8-47 See 8-37

In the above table, the expressions “unique source/destination port” means that the ShareMachine computer SM may identify various connections to the same host HO by means of port numbers. For instance, the ShareMachine computer SM may identify a connection from an exemplary client terminal CT to the host HO by port number 5555, while the next connection will be identified by port number 5556 (or any other unique value). When the host HO sends packets downstream, the ShareMachine computer SM can use the port number to determine which connection the downstream packets belong to.

FIG. 9 discloses a procedure that the master mobile station may utilize to discover a serving SuperHead and ShareMachine computers. Step 9-2 comprises initialization of the gateway application in the master gateway mobile station MS1, as described in connection with FIGS. 1, 2, 5 and 6. In step 9-4 the master MS1 retrieves a list of SuperHead computers from its memory. The installation of the gateway application into the master MS1 may store a default SuperHead list, and this list will be updated on subsequent executions of the gateway application. In step 9-6 the master MS1 selects the first SuperHead computer address from the list. In step 9-8 the master MS1 sends an inquiry to the selected SuperHead computer address. Step 9-10 involves a test as to whether a response to the inquiry was received from the selected SuperHead computer address. If the test is successful, the process proceeds to step 9-12, in which the master MS1 begins to use one or more of the obtained ShareMachine addresses. In step 9-14 the master MS1 stores the list of SuperHead addresses.

On the other hand, if the test in step 9-10 fails, the process proceeds to steps 9-16 and 9-18, in which the next SuperHead address from the list is tried. If the list of SuperHead addresses is exhausted, the process proceeds to step 9-20 and 9-22, which involve various user alerting steps and/or error recovery procedures. For instance, the master mobile station MS1 or its user may employ an internet search engine to obtain more SuperHead addresses.

A proper response from the SuperHead computer to the master MS1 should include a list of IP addresses of one or more available ShareMachine computers and, preferably, an updated list of available SuperHead computers. In a representative but non-restrictive implementation, such lists are sent in XML (eXtendible Markup Language) format. Reception of the list of available ShareMachine computers permits the master MS1 to know computers have reported themselves to the SuperHead computer as potential ShareMachine computers.

Typically each connection is served by one ShareMachine computer, but one master MS1 may serve several connections from one or more client terminals, and each connection may be served by a different ShareMachine computer. Also, it is beneficial if the master MS1 obtains and stores a list of several ShareMachine addresses, in case the active ShareMachine computer detaches itself from service or otherwise ceases to serve the connection.

In some embodiments the SuperHead and ShareMachine computers are implemented in a distributed manner. Such distributed implementation proves certain advantages, in addition to capacity considerations. For instance, many internet services or servers are threatened by network vandalism or sabotage, such as denial-of-service attacks. Furthermore, while there is nothing illegal in the usage of the access network subscription in the mobile stations, the inventive distribution of the access network subscriptions among several client terminals may result in access network traffic which is heavier than average, and the network operators may be tempted to prevent or obstruct the operation of the inventive gateway applications in the mobile stations. A distributed implementation of the SuperHead and ShareMachine computers makes them less vulnerable to such network-based vandalism by hackers or obstructions by access network operators. Robustness may be further improved by utilizing dynamic IP addresses for the SuperHead and/or ShareMachine computers.

In an enhanced implementation of the procedure shown in FIG. 9, the lists of SuperHead and ShareMachine computers are updated regularly, via inquiries to a SuperHead computer. Frequent updating of the SuperHead and ShareMachine addresses provide further robustness, particularly in cases wherein the SuperHead and/or ShareMachine computers are conventional home computers whose spare time is being utilized to serve connection in the manner described herein. When such home computers are turned off or used for other purposes, they stop operating as SuperHead and/or ShareMachine computers. Accordingly, the address updating frequency should be dimensioned based on representative operating patterns of typical home computers, with 10 minutes being a good starting value. While the SuperHead discovery procedure shown in FIG. 9 has been described in connection with a master mobile station MS1, the corresponding SuperHead discovery procedure may also be utilized by ShareMachine computers, with the variation that the ShareMachine computer registers itself with the discovered SuperHead computer as soon as it has discovered one.

In a variation of the address inquiry procedure described herein, the functions of the SuperHead and ShareMachine computers are combined in such a manner that the ShareMachine computers keep track of one another. In other words, the ShareMachine computers also act as SuperHead computers.

The previously described embodiments relate to provision of a scalable gateway functionality. One of the key elements of the invention is establishment of a WLAN access point in a mobile station. By establishing a WLAN access point in the mobile station, it will be possible to utilize some of the enhanced functionality of modern mobile stations.

In addition to merely conveying internet traffic between the client terminal CT and the Internet host, the inventive gateway application can, in some specific embodiments, provide additional or supplementary services which utilize some of the functionality of modem mobile stations. In some implementations, such supplementary services are provided by an arrangement in which a supplementary server enhances the service(s) provided by a primary server. Such a supplementary server can be part of the functionality of the inventive WLAN gateway application, or it can be implemented as a network element distinct from the primary server.

One exemplary implementation of such additional services involves utilization of GPS (Global Positioning System) devices incorporated into some mobile stations. The inventive gateway application may be enhanced to associate GPS-provided geographical coordinates to the traffic originated by the client terminal, or to some of that traffic. For instance, the gateway application can tag still or video image data with geographical coordinates and/or use some additional service (not shown separately) that maps the with geographical coordinates to a plaintext name of the relevant location. In another implementation the gateway application associates GPS-provided coordinates to the traffic, or some of it, while the actual tagging of the images with the coordinates is provided by some additional server, such as an image sharing server (not shown separately). Actually, what matters is the location of the client terminal and not the location of the mobile station acting as a WLAN gateway. But considering the short range of the mobile station's WLAN transmission, the mobile station's location can be used as the client terminal's location for virtually all practical purposes.

In a more ambitious implementation, the gateway application can provide additional services on the basis of the geographical coordinates. For instance, the gateway application can recognize various queries initiated by the client terminal and/or responses to those queries by internet servers and enhance the query responses by relevant map or photography information. For instance, the gateway application can detect a query to “post” and provide the query response with a map and/or photograph of the post office closest to the mobile station's GPS-provided geographical coordinates. In order to obtain the map and/or photograph, the gateway application may query a supplementary server which provides the requested functionality.

Another example of such additional services relates to traffic statistics which the gateway application collects and transmits to some internet-based supplementary server (not shown separately). For example, such a supplementary server may use the traffic statistics to monitor Quality of Service (QoS) parameters, which can be used to maintain the QoS at a specified level and/or to optimize resource usage in the access network. In some embodiments the supplementary server is an advertising server. The advertising server may utilize the traffic statistics for targeted or tailored advertising to the client terminal CT. Such traffic statistics may include, for example, user identification, usage (amount of traffic, usage times, internet addresses visited, query parameters, or the like). Alternatively or additionally, the gateway application can transmit traffic statistics to a billing server which participates in charging the client terminal's subscriber. Yet further, the advertising server and the billing server may cooperate in such a manner that the advertising server's operator sells advertisement space or time and the advertising server credits the client terminal's subscriber for any advertisements received. The credits are then relayed to and used by the billing server in order to reduce the client terminal's subscriber's invoice, generate additional services, extend pre-paid subscription time, to name just a few examples.

Finally, the gateway application may be configured to convey the mobile station's location, or some derivative it, to the advertising server for targeted or tailored advertising on the basis of the mobile station's location. For instance, targeted advertising for some goods or service may include sending an advertisement to a client terminal only if the mobile station's location indicates that the client terminal is reasonably close to the outlet of the goods or service. On the other hand, tailored advertising may be implemented such that the advertisement indicates the address or location of the closest outlet.

FIGS. 10 and 11 illustrate some exemplary embodiments in which the present invention benefits from the functionality of modem mobile stations, such that the resulting WLAN gateway is functionally superior to dedicated WLAN access points. FIG. 10 shows an embodiment in which the WLAN circuitry, and optionally the WLAN gateway application, in the mobile station MS is activated periodically to detect possible WLAN client terminals CT nearby. In one representative scenario, a WLAN-capable digital camera acts as a WLAN client terminal. In the embodiment shown in FIG. 10, the mobile station MS employs two timers which may be realized by means of software-implemented tick counters, as is well known to those skilled in the art. One of the timers is called a sleep timer while the other is called a watchdog timer. The sleep timer's function is to periodically wake up the mobile station's WLAN circuitry, and optionally the WLAN gateway application. The watchdog timer is used to detect non-activity periods of predetermined length in the WLAN network so that the WLAN circuitry can be powered off in order to optimise battery re-sources.

In step 10-1 the WLAN circuitry of the mobile station MS is powered off and the execution of the WLAN gateway application may be suspended or terminated. Step 10-1 terminates when the sleep timer expires. For instance, the sleep timer may generate a processor interrupt which directs the mobile station's processor to perform program routines for activating the WLAN circuitry and starting or resuming execution of the WLAN gateway application. After step 10-2 the mobile station has established a WLAN network. In step 10-3 the mobile station checks if any client terminal(s), such as the exemplary digital camera, attempt(s) to attach to the WLAN network. If not, the process proceeds to step 10-8, in which the WLAN network and circuitry are deactivated and the process begins anew at step 10-1. On the other hand, if any client terminal attaches to the WLAN network, the mobile station starts a watchdog timer in step 10-4 and maintains the WLAN network as indicated in step 10-5. Step 10-6 includes a test to detect client terminal activity. If client terminal activity is detected, the process returns to step 10-4 in which the watchdog timer is restarted. Naturally, any client-related requests are served as well, as part of the basic functionality of the WLAN gateway application. On the other hand, if no client terminal activity is detected, the process proceeds to step 10-7 which is a test as to whether the watchdog timer has expired. If not, the process returns to step 10-5 in which the WLAN network is maintained without restarting the watchdog timer. Eventually, a moment occurs when no client activity has been detected and the watchdog timer expires, and this is detected in step 10-7. Then, in step 10-8, the WLAN network and circuitry are deactivated and the process begins anew at step 10-1.

By virtue of the embodiment described in connection with FIG. 10, the WLAN gateway application may terminate its own execution and power off the mobile station's WLAN circuitry. The automatic execution of the gateway application and the accompanying automatic activation of the mobile station's WLAN circuitry provides certain benefits. For instance, both digital cameras and mobile stations are handicapped by small user interfaces and relatively short battery life, particularly when their liquid-crystal displays (LCD) are illuminated. The automation described in connection with the present embodiment alleviates such handicaps.

FIG. 11 shows an embodiment in which the mobile station's location-determination functionality is used to enhance image uploading to an image hosting server. In step 11-0 a WLAN connection is established between the gateway application being executed in the mobile station MS and the WLAN-equipped digital camera CAM acting as a client terminal CT. For details of the WLAN connection establishment a reference is made to FIGS. 5 and 10. In step 11-2 the camera CAM/CT initiates a DNS inquiry to obtain the internet address of the image hosting server. In step 11-4 an embodiment of the gateway application being executed in the mobile station MS detects that the camera/client terminal CAM/CT executes a location-aware application. Accordingly, the gateway application uses the mobile station's location-determination functionality to determine the mobile station's location. For instance, the mobile station's location may be determined on the basis of the mobile station's built-in satellite-positioning device (GPS) or on the basis of cell ID determination in the access networks. In an optional step 11-8, the gateway application sends the mobile station's location to an embodiment of the supplementary server SS, which in this scenario receives the mobile station's location and returns a plaintext-formatted location description. For instance, the geographical coordinates or cell ID of Piccadilly Circus might be converted to a plaintext description of “Piccadilly Circus, London”. In step 11-10, the camera/client terminal CAM/CT begins uploading of image data to the image hosting server. In step 11-12 the gateway application complements the image data with the mobile station's location. In one particular implementation, the location data is placed in a metadata field of the image(s).

It is readily apparent to a person skilled in the art that, as the technology advances, the inventive concept can be implemented in various ways. The invention and its embodiments are not limited to the examples described above but may vary within the scope of the claims.

REFERENCES

-   1. FI20080032, filed 16 Jan. 2008, and -   2. PCT/FI2008/050617, filed 30 Oct. 2008.     Both references are commonly owned patent applications whose     contents are incorporated herein by reference. Reference 2 is an     unpublished application at the filing date of the present invention,     which is why some sections of its contents are repeated here. 

1. A communication device, comprising: a memory for storing applications and data; a processor for executing the stored applications; a user interface comprising an input section and an output section; wireless local-area network [“WLAN”] circuitry responsive to an activation or deactivation command according to a setting received via the input section of the user interface; a first wireless broadband communication device, which comprises: a subscriber identity module associated with a specific mobile subscription and a stored personal identification number; circuitry for receiving a received personal identification number; circuitry for performing an authentication of a user, such that the authentication is successful if the received personal identification number matches the stored personal identification number; and a radio transceiver operable to establish and maintain a wireless broadband connection with a mobile communication network in response to the successful authentication; wherein the memory comprises a gateway application which comprises: a first code portion for instructing the processor to activate the WLAN circuitry to detect if a WLAN network exists, and if a WLAN network does not exist, to establish a WLAN access point capable of communicating with at least one data processing device capable of acting as a WLAN client terminal to the WLAN access point; a second code portion for instructing the processor to establish a connection to at least one second wireless broadband communication device, which has the features of the first wireless broadband communication device; a third code portion for instructing the processor to assign processor to create a network identifier for the WLAN access point; a fourth code portion for instructing the processor to assign an internet protocol address for the at least one WLAN client terminal and for the at least one second wireless broadband communication device; a fifth code portion for instructing the processor to resolve domain name service [“DNS”] queries in cooperation with an external DNS system; a sixth code portion for instructing the processor to assign at least one port number for each protocol supported by the gateway application; a seventh code portion for instructing the processor to tunnel internet traffic between the at least one WLAN client terminal and an internet host over the broadband connection; wherein said tunneling of internet traffic comprises establishing and managing multiple simultaneous transmission paths between the WLAN client terminal and the internet host, the multiple simultaneous transmission paths comprising a first transmission path via the radio transceiver of the first wireless broadband communication device and at least one second transmission path via the radio transceiver of the second wireless broadband communication device, wherein the communication device is a portable computer and the first wireless broadband communication device is compact wireless broadband modem adapted to use the user interface of the portable computer for the authentication of the user.
 2. The communication device according to claim 1, wherein the communication device is a mobile telephone.
 3. The communication device according to claim 1, further comprising circuitry for utilizing multicast transmission in the at least one second transmission path.
 4. The communication device according to claim 1, further comprising circuitry for establishing and managing the multiple simultaneous transmission paths such that the multiple simultaneous transmission paths originate and terminate at the communication device and at a multiplexing/demultiplexing computer which is a different computer from the internet host.
 5. The communication device according to claim 4, further comprising signaling circuitry for communicating with several service coordination servers that coordinate operation of several multiplexing/demultiplexing computers; wherein the signalling circuitry means comprise code portions for instructing the processor to: retrieve from the memory a list indicating some of the several service coordination servers; send an inquiry to one or more of the several service coordination servers until a response is received, the response indicating an updated list of service coordination servers; obtain an address of one or more active multiplexing/demultiplexing computers from at least one of the several service coordination servers; store the updated list of service coordination servers into the memory.
 6. A method for operating a communication device, the method comprising: activating a wireless local-area network [“WLAN”] circuitry to detect if a WLAN network exists, and if a WLAN network does not exist, to establish a WLAN access point capable of communicating with at least one data processing device capable of acting as a WLAN client terminal to the WLAN access point; establishing a connection to at least one second wireless broadband communication device which has the features of the first wireless broadband communication device; assigning processor to create a network identifier for the WLAN access point; assigning an internet protocol address for the at least one WLAN client terminal and for the at least one second wireless broadband communication device; resolving domain name service [“DNS”] queries in cooperation with an external DNS system; assigning at least one port number for each protocol supported by the gateway application; tunneling internet traffic between the at least one WLAN client terminal and an internet host over the broadband connection; wherein said tunneling of internet traffic comprises establishing and managing multiple simultaneous transmission paths between the WLAN client terminal and the internet host, the multiple simultaneous transmission paths comprising a first transmission path via the radio transceiver of the first wireless broadband communication device and at least one second transmission path via the radio transceiver of the second wireless broadband communication device, wherein the communication device is a portable computer and the first wireless broadband communication device is compact wireless broadband modem adapted to use the user interface of the portable computer for the authentication of the user.
 7. A non-transitory computer readable storage medium having embodied thereon a program, the program being executable by a processor to perform a method for operating a communication device, the method comprising: a first code portion for instructing a processor to activate a wireless local-area network [“WLAN”] circuitry to detect if a WLAN network exists, and if a WLAN network does not exist, to establish a WLAN access point capable of communicating with at least one data processing device capable of acting as a WLAN client terminal to the WLAN access point; a second code portion for instructing the processor to establish a connection to at least one second wireless broadband communication device, which has the features of the first wireless broadband communication device; a third code portion for instructing the processor to create a network identifier for the WLAN access point; a fourth code portion for instructing the processor to assign an internet protocol address for the at least one WLAN client terminal and for the at least one second wireless broadband communication device; a fifth code portion for instructing the processor to resolve domain name service [“DNS”] queries in cooperation with an external DNS system; a sixth code portion for instructing the processor to assign at least one port number for each protocol supported by the gateway application; a seventh code portion for instructing the processor to tunnel internet traffic between the at least one WLAN client terminal and an internet host over the broadband connection; wherein said tunneling of internet traffic comprises establishing and managing multiple simultaneous transmission paths between the WLAN client terminal and the internet host, the multiple simultaneous transmission paths comprising a first transmission path via the radio transceiver of the first wireless broadband communication device and at least one second transmission path via the radio transceiver of the second wireless broadband communication device, wherein the communication device is a portable computer and the first wireless broadband communication device is compact wireless broadband modem adapted to use the user interface of the portable computer for the authentication of the user. 